package com.itfreer.data.metadata;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.itfreer.data.metadata.entity.DataMetadataDirectoryEntity;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

import io.swagger.annotations.Api;

/**
 * 元数据目录
 */
@RestController
@RequestMapping("/metadatadirectory")
@Api("元数据目录")
public class RestMetadataDirectoryService extends BaseRestService<DataMetadataDirectoryEntity> {
	
	@Autowired(required = false)
	private MetadataDirectoryService service;

	@Override
	protected BaseService<DataMetadataDirectoryEntity> getService() {
		return service;
	}
}
